import { UpdateTypeList } from '/@/enums/modelEnum';

export const formSchema: Recordable[] = [
  {
    field: 'label',
    label: '字段名',
  },
  {
    field: 'field',
    label: '字段编码',
  },
  {
    field: 'updateType',
    label: '权限',
    required: true,
    component: 'RadioGroup',
    componentProps: {
      defaultValue: 1,
      options: UpdateTypeList,
    },
  },
];

//新增流程表单权限对象(flowFormDTO)
export const mockItem = {
  nodeName: '节点名称',
  flowFormPermissions: [
    // {
    //   label: '标签名',
    //   field: '标签编码',
    //   updateType: '更新类型(读写、比读写、可读写)',
    // },
  ],
};
